[INFO] cloning repository https://github.com/googleben/java_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/googleben/java_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogleben%2Fjava_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogleben%2Fjava_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e0949bbf390c62ce7ca294fff08ef7dc0ec4ea6
[INFO] building googleben/java_rs against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoogleben%2Fjava_rs" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/googleben/java_rs on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/googleben/java_rs
[INFO] finished tweaking git repo https://github.com/googleben/java_rs
[INFO] tweaked toml for git repo https://github.com/googleben/java_rs written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/googleben/java_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-4/source/class_browser/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-4/source/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-4/source/java_class/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3bc3012e5343b609813ad7aad4f0d5e22dfd6e2bb50a87ac78d82c8e7f49cc92
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3bc3012e5343b609813ad7aad4f0d5e22dfd6e2bb50a87ac78d82c8e7f49cc92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3bc3012e5343b609813ad7aad4f0d5e22dfd6e2bb50a87ac78d82c8e7f49cc92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bc3012e5343b609813ad7aad4f0d5e22dfd6e2bb50a87ac78d82c8e7f49cc92", kill_on_drop: false }`
[INFO] [stdout] 3bc3012e5343b609813ad7aad4f0d5e22dfd6e2bb50a87ac78d82c8e7f49cc92
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f55b27ba6bcfe2882ae00afd2cb83ccb8c2ed8295ba78f600b37246eddfd990
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3f55b27ba6bcfe2882ae00afd2cb83ccb8c2ed8295ba78f600b37246eddfd990", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/class_browser/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/java_class/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]    Compiling version_check v0.1.4
[INFO] [stderr]    Compiling cc v1.0.23
[INFO] [stderr]    Compiling gio v0.4.1
[INFO] [stderr]    Compiling cfg-if v0.1.5
[INFO] [stderr]    Compiling cairo-rs v0.4.1
[INFO] [stderr]    Compiling gdk-pixbuf v0.4.0
[INFO] [stderr]    Compiling c_vec v1.3.2
[INFO] [stderr]    Compiling gdk v0.8.0
[INFO] [stderr]    Compiling regex v1.0.5
[INFO] [stderr]    Compiling utf8-ranges v1.0.1
[INFO] [stderr]    Compiling gtk v0.4.1
[INFO] [stderr]    Compiling java_class v0.1.0 (/opt/rustwide/workdir/java_class)
[INFO] [stderr]    Compiling podio v0.1.6
[INFO] [stderr]    Compiling glib-sys v0.6.0
[INFO] [stderr]    Compiling gobject-sys v0.6.0
[INFO] [stderr]    Compiling gio-sys v0.6.0
[INFO] [stderr]    Compiling cairo-sys-rs v0.6.0
[INFO] [stderr]    Compiling gdk-pixbuf-sys v0.6.0
[INFO] [stderr]    Compiling pango-sys v0.6.0
[INFO] [stderr]    Compiling gdk-sys v0.6.0
[INFO] [stderr]    Compiling atk-sys v0.6.0
[INFO] [stderr]    Compiling gtk-sys v0.6.0
[INFO] [stderr]    Compiling miniz_oxide v0.1.3
[INFO] [stderr]    Compiling regex-syntax v0.6.2
[INFO] [stderr]    Compiling msdos_time v0.1.6
[INFO] [stderr]    Compiling log v0.4.5
[INFO] [stdout] warning: unused import: `std::string`
[INFO] [stdout]  --> java_class/src/cp.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::string;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> java_class/src/bytecode_tools.rs:257:13
[INFO] [stdout]     |
[INFO] [stdout] 257 |         0xcb...0xfd => reserved,
[INFO] [stdout]     |             ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> java_class/src/class.rs:310:30
[INFO] [stdout]     |
[INFO] [stdout] 310 | ...                   0...63 => StackMapFrame::SameFrame { offset_delta: tag },
[INFO] [stdout]     |                        ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> java_class/src/class.rs:311:31
[INFO] [stdout]     |
[INFO] [stdout] 311 | ...                   64...127 => StackMapFrame::SameLocals1Item {
[INFO] [stdout]     |                         ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> java_class/src/class.rs:319:32
[INFO] [stdout]     |
[INFO] [stdout] 319 | ...                   248...250 => StackMapFrame::ChopFrame {
[INFO] [stdout]     |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> java_class/src/class.rs:326:32
[INFO] [stdout]     |
[INFO] [stdout] 326 | ...                   252...254 => StackMapFrame::AppendFrame {
[INFO] [stdout]     |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]    Compiling memchr v2.1.0
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`)
[INFO] [stdout]    --> java_class/src/class.rs:185:19
[INFO] [stdout]     |
[INFO] [stdout] 180 | / fn build_cp(mut r: JavaClassReader, cp_count: u16) -> ConstantPool {
[INFO] [stdout] 181 | |     let mut cp_vec: Vec<CPInfo> = vec!();
[INFO] [stdout] 182 | |     //we have to use an iterator so we can skip indices for Double and Long
[INFO] [stdout] 183 | |     let mut iter = 0..cp_count - 1;
[INFO] [stdout] 184 | |     while let Some(i) = iter.next() {
[INFO] [stdout] 185 | |         let tag = r.next()?;
[INFO] [stdout]     | |                   ^^^^^^^^^ cannot use the `?` operator in a function that returns `ConstantPool`
[INFO] [stdout] ...   |
[INFO] [stdout] 228 | |     ConstantPool::new_with_info(cp_vec)
[INFO] [stdout] 229 | | }
[INFO] [stdout]     | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Try` is not implemented for `ConstantPool`
[INFO] [stdout]     = note: required by `from_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> java_class/src/class.rs:187:20
[INFO] [stdout]     |
[INFO] [stdout] 187 |             return malformed("Invalid constant pool tag");
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `ConstantPool`, found enum `Result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `ConstantPool`
[INFO] [stdout]                  found enum `Result<_, std::io::Error>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `java_class`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "3f55b27ba6bcfe2882ae00afd2cb83ccb8c2ed8295ba78f600b37246eddfd990", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f55b27ba6bcfe2882ae00afd2cb83ccb8c2ed8295ba78f600b37246eddfd990", kill_on_drop: false }`
[INFO] [stdout] 3f55b27ba6bcfe2882ae00afd2cb83ccb8c2ed8295ba78f600b37246eddfd990
